package systems

import "github.com/wailsapp/wails/v2/pkg/runtime"

func LogInfo(data string) {
	runtime.EventsEmit(Context, LogInfoString, data)
}

func LogError(data string) {
	runtime.EventsEmit(Context, LogErrorString, data)

}

func LogClose(task string) {
	runtime.EventsEmit(Context, LogCloseString, task)
}

// LogProgress 进度条
func LogProgress(data int) {
	runtime.EventsEmit(Context, LogProgressString, data)
}
